package ch6;

public class Mouse extends Animal {
    private  String breed;



    public Mouse(String name, double vit, String breed) {
        super(name, vit);
        this.breed = breed;
    }
    public String getBreed() {
        return breed;
    }

    public void setBreed(String breed) {
        this.breed = breed;
    }

    public void show(){
        System.out.println("这个老鼠的品种是："+this.getBreed());
        super.show();

    }
}
